#include <unistd.h>
#include <QApplication>
#include <iostream>
#include "mainWindow.h"
using namespace std;
int main(int argc, char* argv[]) {
    if (argc < 2) {
        printf("usage: <app> <videopath1> [videoPath2]\n");
        return 0;
    }
    QApplication a(argc, argv);
    MainWindow w;

    w.videoWidget(argv[1]);
    if (argc == 3) {
        w.videoWidget(argv[2]);
    }
    w.show();
    return a.exec();
}
